﻿@{
    var pageindex = int.Parse("0" + Request["pageid"]);
    if (pageindex == 0) {
        pageindex = 1;
    }
    var pagesize = 2;
    var strWhere = string.Empty;
    var orderby = string.Empty;
    var Url = V5.Url.Action("Demo/ArticleList", new { PageID = "@pageid@" });
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    @foreach (DataRow dr in V5.Article.Query_By_Pager("*", string.Empty, "", pagesize, pageindex, Url.ToHtmlString()).Rows) {
        @dr["Title"]<br />
    }
    @V5.Article.Pager
</body>
</html>
